package com.henushang.ranking.domain;

import com.henushang.ranking.domain.base.BaseDomain;

/**
 * 抓取的榜单信息
 */
public class RankingData extends BaseDomain {

    private int rank_num;

    private String url;

    private String desc;

    private String category_id;

    private String site_id;

    private String content;

    private Boolean has_content;

    public int getRank_num() {
        return rank_num;
    }

    public void setRank_num(int rank_num) {
        this.rank_num = rank_num;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getCategory_id() {
        return category_id;
    }

    public void setCategory_id(String category_id) {
        this.category_id = category_id;
    }

    public String getSite_id() {
        return site_id;
    }

    public void setSite_id(String site_id) {
        this.site_id = site_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean isHas_content() {
        return has_content;
    }

    public void setHas_content(Boolean has_content) {
        this.has_content = has_content;
    }

    @Override
    public String toString() {
        return super.toString() + String.format(
                "rank_num:%d  ,  url:%s  ,  desc:%s  ,  " + "category_id:%s  ,  site_id:%s",
                getRank_num(), getUrl(), getDesc(), getCategory_id(), getSite_id());
    }
}
